//
//  GradientArcProgressView.h
//  JPWords
//
//  Created by 梁淑婷 on 2024/7/3.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface GradientArcProgressView : UIView

@property (nonatomic, assign) CGFloat progress; // 0.0 to 1.0
@property (nonatomic, strong) UIColor *startColor; // 开始颜色
@property (nonatomic, strong) UIColor *endColor; // 结束颜色
@property (nonatomic, strong) UIColor *backgroundColor; // 圆环背景颜色

- (instancetype)initWithFrame:(CGRect)frame
               backgroundColor:(UIColor *)backgroundColor
                    startColor:(UIColor *)startColor
                     endColor:(UIColor *)endColor;

@end

NS_ASSUME_NONNULL_END
